package com.huatao.subject.application.dto;

import com.huatao.subject.common.entity.PageInfo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 题目信息表(SubjectInfo)实体类
 *
 * @author makejava
 * @since 2025-03-09 14:54:49
 */
@Data
public class SubjectInfoDTO extends PageInfo implements Serializable {
    private static final long serialVersionUID = 700009614186708374L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 题目名称
     */
    private String subjectName;
    /**
     * 题目难度
     */
    private Integer subjectDifficult;
    /**
     * 出题人名
     */
    private String settleName;
    /**
     * 题目类型 1单选 2多选 3判断 4简答
     */
    private Integer subjectType;
    /**
     * 题目分数
     */
    private Integer subjectScore;
    /**
     * 题目解析
     */
    private String subjectParse;

    private String subjectAnswer;

    private List<Integer> categoryIds;

    private List<Integer> labelIds;

    private List<SubjectAnswerDTO> optionLists;

    private Long categoryId;

    private Long labelId;

    private List<String> labelName;

    private String keyWords;

    private String createUser;

    private String createUserAvatar;

    private Integer SubjectCount;

    /**
     * 是否被点赞
     */
    private Boolean liked;

    /**
     * 点赞数量
     */
    private Integer likedCount;

    /**
     * 下一题
     */
    private Long nextSubjectId;

    /**
     * 上一题
     */
    private Long lastSubjectId;
}

